package cz.semjob.learning.classifier.benchmark;

import java.util.List;

import cz.semjob.document.annotation.LabeledWords;

class ClassifierEntityBenchmarkResult extends ClassifierBenchmarkResult {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7961933688604529696L;
	private List<LabeledWords> foundWords;

	public ClassifierEntityBenchmarkResult() {
		super();
	}

	public ClassifierEntityBenchmarkResult(double precision, double recall,
			double trueNegativeRate, double accuracy) {
		super(precision, recall, trueNegativeRate, accuracy);
	}

	public ClassifierEntityBenchmarkResult(String documentName,
			double precision, double recall, double trueNegativeRate,
			double accuracy, List<LabeledWords> foundWords) {
		super(documentName, precision, recall, trueNegativeRate, accuracy);
		this.foundWords = foundWords;
	}

	@Override
	public String toString() {
		return "ClassifierBenchmarkResult"
				+ (documentName == null ? "" : "(" + documentName + ")")
				+ " [precision=" + precision + ", recall=" + recall
				+ ", trueNegativeRate=" + trueNegativeRate + ", accuracy="
				+ accuracy + "]\n";
	}

	public List<LabeledWords> getFoundWords() {
		return foundWords;
	}

}
